app.service("goodsService",function($http){
	this.queryIndexGoods=function(){
		return $http.get("/product/indexProducts");
	}
	this.loadProductById=function(id){
		return $http.get("/product/Byid?id=" + id);
	}
});